package com.hopu.blb_erp.mapper;

import com.hopu.blb_erp.entity.Laser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author A-Zhang
 * @since 2021-11-23
 */
public interface LaserMapper extends BaseMapper<Laser> {
    //根据lNo进行查询
    Laser selectLaserBylNo(String input);
    //批量删除
    void deleteLasers(List<Integer> ids);

    //状态码来查   1,2,3
    ArrayList<Laser> selecLasersByStatus();

    //4,5
    ArrayList<Laser> selecLasersByStatus2();
//

    int selectCount();

    List<Laser> selectPage(@Param("start") Integer start, @Param("length")Integer length);
}
